package base.thread.threadCommunication.guanChengFa;

/**
 * @Author: my_code
 * @Create: 2020-12-09 13:06
 */
public class TestPC {
    public static void main(String[] args) {
        SynContainer synContainer = new SynContainer();
        new Thread(new Consumer(synContainer),"消费者").start();
        new Thread(new Product(synContainer),"生产者").start();
    }
}
